function bodyScale(){
	var devicewidth=document.documentElement.clientWidth;
	var wid=parseInt($('header').css('width'));
    var scale=devicewidth/wid;
    document.body.style.zoom=scale;
};

$(function(){

	var aheight=document.body.clientHeight;
	var hdheight=aheight-50;
	$('.hd-bt').css('height',hdheight);

	var s = true;
	$('.hd-rt span').click(function(){
		$(".hd-bt").toggle();
		if (s) {
			$('.hd-rt span').addClass("act");
			s = false;
		}else{
			$('.hd-rt span').removeClass("act");
			s = true;	
		};

	});

	//服务范围
	var serheight=$('.banner').height();
	$('.service').css('height',2*serheight)

	// 微信开发
	var deheight=$('.service h3').height();
	$('.develop h3').css('height',deheight)
	$('.develop ul').css('height',3.5*serheight)

	// 网站开发

	var weheight=$('.service h3').height();
	$('.website h3').css('height',weheight)
	$('.website ul').css('height',1.2*serheight)

	//服务
	$('.survice h3').css('height',0.4*serheight);
	$('.survice ul').css('height',3*serheight);

	// 成功案例

	$('.case h3').css('height',0.4*serheight);
	$('.case ul li').css('height',0.5*serheight);

	// 合作

	var coheight = aheight-100;
	$('.cooperate').css('height',coheight);

	// 我们团队
	$('.team h3').css('height',0.4*serheight);
	$('.team>ul').css('height',3.8*serheight);

	//优势
	$('.advantage li').css('height',0.5*serheight);

	//优势详情
	var advheight = aheight-serheight-100;
	$('.advdetail').css('height',advheight);


	// 关于我们
	$('.us h3').css('height',0.5*serheight);
	$('.us-bt').css('height',1.6*serheight);





})














